package com.zb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zb.entity.Order;
import java.util.List;

public interface OrderService extends IService<Order> {

    /**
     * 批量保存订单
     */
    boolean batchSaveOrders(List<Order> orderList);

    /**
     * 获取指定月份和租户的订单数量
     */
    long countOrdersByMonthAndTenant(Long tenantId, String yearMonth);
}
